$OpenBSD: patch-configure_ac,v 1.2 2011/03/18 23:58:55 sthen Exp $
--- configure.ac.orig	Sat Mar 15 13:45:17 2008
+++ configure.ac	Wed Sep 22 20:29:10 2010
@@ -460,6 +460,11 @@ int has_timeout=sizeof(test.timeout);],
  	LIBS="$LIBS -lcam"
   	cd_drivers="${cd_drivers}, FreeBSD "
 	;;
+     openbsd*)
+     	AC_DEFINE([HAVE_OPENBSD_CDROM], [1], 
+                  [Define 1 if you have OpenBSD CD-ROM support])
+	  cd_drivers="${cd_drivers}, OpenBSD"
+	;;
      *)
 	AC_MSG_WARN([Don't have OS CD-reading support for ${host_os}...])
 	AC_MSG_WARN([Will use generic support.])
@@ -490,6 +495,7 @@ AC_SUBST(HAVE_BSDI_CDROM)
 AC_SUBST(HAVE_DARWIN_CDROM)
 AC_SUBST(HAVE_FREEBSD_CDROM)
 AC_SUBST(HAVE_LINUX_CDROM)
+AC_SUBST(HAVE_OPENBSD_CDROM)
 AC_SUBST(HAVE_SOLARIS_CDROM)
 AC_SUBST(HAVE_WIN32_CDROM)
 
@@ -562,6 +568,8 @@ if test "${enable_joliet}" != "no" ; then
   fi
 fi
 AC_SUBST(HAVE_JOLIET)
+
+LIBICONV=$LTLIBICONV
 
 if test x$enable_rock = x; then
   enable_rock=yes
